﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;

using VxiUtil;

namespace VxiServer
{
    public class LobbyCommunication : TcpCommunication
    {
        protected override int Port
        {
            get { return 54230; }
        }

        protected override byte[] ProccessClientRequest(TcpClient client, byte[] request)
        {
            ClientUser user = ClientManagement.GetClient(client.Client.GetIPAddress());
            if (user != null)
            {
                user.LobbySocket = client;
            }
            return null;
        }
    }
}
